<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>MiXiM: Interpolated&lt; Mapping * &gt; Class Template Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>


</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">MiXiM
   &#160;<span id="projectnumber">2.3</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('a00112.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pro-types">Protected Types</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle">
<div class="title">Interpolated&lt; Mapping * &gt; Class Template Reference<div class="ingroups"><a class="el" href="a00520.html">mappingDetails - mostly internal mapping classes</a></div></div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="Interpolated&lt; Mapping * &gt;" -->
<p>Helper class (-specialization) for multiDimMapping which is used by an <a class="el" href="a00110.html" title="Represents a std::map which is able to interpolate.">InterpolateableMap</a> as return value of the "getValue()" - method.  
 <a href="a00112.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="a00300_source.html">MappingUtils.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for Interpolated&lt; Mapping * &gt;:</div>
<div class="dyncontent">
<div class="center"><img src="a00793.png" border="0" usemap="#Interpolated_3_01Mapping_01_5_01_4_coll__map" alt="Collaboration graph"/></div>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="a00794.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae6dbef7dabca0ce3f6f3110b28b48c8e"></a><!-- doxytag: member="Interpolated&lt; Mapping * &gt;::Interpolated" ref="ae6dbef7dabca0ce3f6f3110b28b48c8e" args="(const LinearIntplMapping &amp;m)" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00112.html#ae6dbef7dabca0ce3f6f3110b28b48c8e">Interpolated</a> (const <a class="el" href="a00120.html">LinearIntplMapping</a> &amp;m)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes this <a class="el" href="a00111.html" title="Represents an interpolated value of any type.">Interpolated</a> instance to represent the passed <a class="el" href="a00111.html" title="Represents an interpolated value of any type.">Interpolated</a> <a class="el" href="a00136.html" title="Represents a changeable mapping (mathematical function) from at least time to Argument::mapped_type.">Mapping</a>. Copies the passed <a class="el" href="a00136.html" title="Represents a changeable mapping (mathematical function) from at least time to Argument::mapped_type.">Mapping</a> to its internal member. Sets "isInterpolated" to true. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00112.html#a95f58fb7ed93ec9a752d2d85581796a1">Interpolated</a> (<a class="el" href="a00136.html">value_type</a> v, bool isIntpl=true)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes this <a class="el" href="a00111.html" title="Represents an interpolated value of any type.">Interpolated</a> instance to represent the <a class="el" href="a00136.html" title="Represents a changeable mapping (mathematical function) from at least time to Argument::mapped_type.">Mapping</a> the passed pointer points to and with the passed isIntpl value.  <a href="#a95f58fb7ed93ec9a752d2d85581796a1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aefb556e3f085b774951f2afc22d9279f"></a><!-- doxytag: member="Interpolated&lt; Mapping * &gt;::Interpolated" ref="aefb556e3f085b774951f2afc22d9279f" args="(const _Self &amp;o)" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00112.html#aefb556e3f085b774951f2afc22d9279f">Interpolated</a> (const <a class="el" href="a00111.html">_Self</a> &amp;o)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy-constructor which assures that the internal storage is used correctly. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2810500c1b795c29a1af2741024853a7"></a><!-- doxytag: member="Interpolated&lt; Mapping * &gt;::operator=" ref="a2810500c1b795c29a1af2741024853a7" args="(const _Self &amp;o)" -->
const <a class="el" href="a00111.html">_Self</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00112.html#a2810500c1b795c29a1af2741024853a7">operator=</a> (const <a class="el" href="a00111.html">_Self</a> &amp;o)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment operator which assures that the internal storage is copied correctly. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2e84fa1860da47f333628f4cab75c376"></a><!-- doxytag: member="Interpolated&lt; Mapping * &gt;::operator*" ref="a2e84fa1860da47f333628f4cab75c376" args="()" -->
<a class="el" href="a00136.html">value_ref_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00112.html#a2e84fa1860da47f333628f4cab75c376">operator*</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Dereferences this <a class="el" href="a00111.html" title="Represents an interpolated value of any type.">Interpolated</a> to the represented value (works like dereferencing an std::iterator). <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4e9ca385dff76dca305c1d17c6a77f85"></a><!-- doxytag: member="Interpolated&lt; Mapping * &gt;::operator&#45;&gt;" ref="a4e9ca385dff76dca305c1d17c6a77f85" args="()" -->
<a class="el" href="a00136.html">value_ptr_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00112.html#a4e9ca385dff76dca305c1d17c6a77f85">operator-&gt;</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Dereferences this <a class="el" href="a00111.html" title="Represents an interpolated value of any type.">Interpolated</a> to the represented value (works like dereferencing an std::iterator). <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2616d18d714a3b3ccc5797411d0f06de"></a><!-- doxytag: member="Interpolated&lt; Mapping * &gt;::operator==" ref="a2616d18d714a3b3ccc5797411d0f06de" args="(const _Self &amp;other) const " -->
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00112.html#a2616d18d714a3b3ccc5797411d0f06de">operator==</a> (const <a class="el" href="a00111.html">_Self</a> &amp;other) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Two <a class="el" href="a00112.html" title="Helper class (-specialization) for multiDimMapping which is used by an InterpolateableMap as return v...">Interpolated&lt;Mapping*&gt;</a> are compared equal if the pointer to the represented <a class="el" href="a00136.html" title="Represents a changeable mapping (mathematical function) from at least time to Argument::mapped_type.">Mapping</a> is the same as well as the "isInterpolated" value. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adc94213dd6549deee2a8c5b8b41a0403"></a><!-- doxytag: member="Interpolated&lt; Mapping * &gt;::operator!=" ref="adc94213dd6549deee2a8c5b8b41a0403" args="(const _Self &amp;other) const " -->
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00112.html#adc94213dd6549deee2a8c5b8b41a0403">operator!=</a> (const <a class="el" href="a00111.html">_Self</a> &amp;other) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Two <a class="el" href="a00112.html" title="Helper class (-specialization) for multiDimMapping which is used by an InterpolateableMap as return v...">Interpolated&lt;Mapping*&gt;</a> are compared non equal if the pointer to the represented <a class="el" href="a00136.html" title="Represents a changeable mapping (mathematical function) from at least time to Argument::mapped_type.">Mapping</a> differs or the "isInterpolated" value. <br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5f5b0e3a8adb3c2ec8b4178476334cdd"></a><!-- doxytag: member="Interpolated&lt; Mapping * &gt;::isInterpolated" ref="a5f5b0e3a8adb3c2ec8b4178476334cdd" args="" -->
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00112.html#a5f5b0e3a8adb3c2ec8b4178476334cdd">isInterpolated</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Stores if the underlying <a class="el" href="a00136.html" title="Represents a changeable mapping (mathematical function) from at least time to Argument::mapped_type.">Mapping</a> is interpolated or not. <br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-types"></a>
Protected Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abfe0e5f0e7bda34ffb30a8bc0a73afa4"></a><!-- doxytag: member="Interpolated&lt; Mapping * &gt;::value_type" ref="abfe0e5f0e7bda34ffb30a8bc0a73afa4" args="" -->
typedef <a class="el" href="a00136.html">Mapping</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>value_type</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a105b8f3df84e235b9d97c061d8cf2807"></a><!-- doxytag: member="Interpolated&lt; Mapping * &gt;::value_cref_type" ref="a105b8f3df84e235b9d97c061d8cf2807" args="" -->
typedef const <a class="el" href="a00136.html">value_type</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>value_cref_type</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac6fe46e95755e3b9d07e443a4c8d0f5d"></a><!-- doxytag: member="Interpolated&lt; Mapping * &gt;::value_ref_type" ref="ac6fe46e95755e3b9d07e443a4c8d0f5d" args="" -->
typedef <a class="el" href="a00136.html">value_type</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>value_ref_type</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae69d4f775ded2f2a35789c55875da7c9"></a><!-- doxytag: member="Interpolated&lt; Mapping * &gt;::value_ptr_type" ref="ae69d4f775ded2f2a35789c55875da7c9" args="" -->
typedef <a class="el" href="a00136.html">value_type</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>value_ptr_type</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6e461fadd0cf5dc69cf4d38e14528c6a"></a><!-- doxytag: member="Interpolated&lt; Mapping * &gt;::_Self" ref="a6e461fadd0cf5dc69cf4d38e14528c6a" args="" -->
typedef <a class="el" href="a00111.html">Interpolated</a>&lt; <a class="el" href="a00136.html">value_type</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>_Self</b></td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a41f35d1266c83a26a22d6d0b411ec34f"></a><!-- doxytag: member="Interpolated&lt; Mapping * &gt;::mapping" ref="a41f35d1266c83a26a22d6d0b411ec34f" args="" -->
<a class="el" href="a00120.html">LinearIntplMapping</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00112.html#a41f35d1266c83a26a22d6d0b411ec34f">mapping</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Holds the temporary InterpolatedMapping if necessary. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a35663ec8d3ab796e7ad7b20a2526bebd"></a><!-- doxytag: member="Interpolated&lt; Mapping * &gt;::value" ref="a35663ec8d3ab796e7ad7b20a2526bebd" args="" -->
<a class="el" href="a00136.html">value_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00112.html#a35663ec8d3ab796e7ad7b20a2526bebd">value</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A pointer to the <a class="el" href="a00136.html" title="Represents a changeable mapping (mathematical function) from at least time to Argument::mapped_type.">Mapping</a> this class represents. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a34000edebc6bbcca908e4cf61f0256d1"></a><!-- doxytag: member="Interpolated&lt; Mapping * &gt;::isPointer" ref="a34000edebc6bbcca908e4cf61f0256d1" args="" -->
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00112.html#a34000edebc6bbcca908e4cf61f0256d1">isPointer</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Stores if we use the temporary IntplMapping or a external pointer. <br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><h3>template&lt;&gt;<br/>
class Interpolated&lt; Mapping * &gt;</h3>

<p>Helper class (-specialization) for multiDimMapping which is used by an <a class="el" href="a00110.html" title="Represents a std::map which is able to interpolate.">InterpolateableMap</a> as return value of the "getValue()" - method. </p>
<p>Provides either an pointer to an actual SubMapping of the <a class="el" href="a00148.html" title="Implementation of the Mapping-interface which is able to represent arbitrary dimensional instances of...">MultiDimMapping</a> or a Pointer to an temporary InterpolatedMapping between two Sub-mappings of the <a class="el" href="a00148.html" title="Implementation of the Mapping-interface which is able to represent arbitrary dimensional instances of...">MultiDimMapping</a>.</p>
<dl class="author"><dt><b>Author:</b></dt><dd>Karl Wessel </dd></dl>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a95f58fb7ed93ec9a752d2d85581796a1"></a><!-- doxytag: member="Interpolated&lt; Mapping * &gt;::Interpolated" ref="a95f58fb7ed93ec9a752d2d85581796a1" args="(value_type v, bool isIntpl=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00111.html">Interpolated</a>&lt; <a class="el" href="a00136.html">Mapping</a> * &gt;::<a class="el" href="a00111.html">Interpolated</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00136.html">value_type</a>&#160;</td>
          <td class="paramname"><em>v</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>isIntpl</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Initializes this <a class="el" href="a00111.html" title="Represents an interpolated value of any type.">Interpolated</a> instance to represent the <a class="el" href="a00136.html" title="Represents a changeable mapping (mathematical function) from at least time to Argument::mapped_type.">Mapping</a> the passed pointer points to and with the passed isIntpl value. </p>
<p>The passed pointer has to be valid as long as this instance exists. </p>
<div class="fragment"><pre class="fragment">                                                 :
    <a class="code" href="a00112.html#a41f35d1266c83a26a22d6d0b411ec34f" title="Holds the temporary InterpolatedMapping if necessary.">mapping</a>(), <a class="code" href="a00112.html#a35663ec8d3ab796e7ad7b20a2526bebd" title="A pointer to the Mapping this class represents.">value</a>(v), <a class="code" href="a00112.html#a34000edebc6bbcca908e4cf61f0256d1" title="Stores if we use the temporary IntplMapping or a external pointer.">isPointer</a>(<span class="keyword">true</span>), <a class="code" href="a00112.html#a5f5b0e3a8adb3c2ec8b4178476334cdd" title="Stores if the underlying Mapping is interpolated or not.">isInterpolated</a>(isIntpl) {}
</pre></div>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>D:/Projects/MiXiM/extsrc/mixim/src/base/phyLayer/<a class="el" href="a00300_source.html">MappingUtils.h</a></li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="a00112.html">Interpolated&lt; Mapping * &gt;</a>      </li>

    <li class="footer">Generated on Tue Mar 5 2013 21:26:32 for MiXiM by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.5.1 </li>
   </ul>
 </div>


</body>
</html>
